package com.th.coupon.gateway.filter;

import org.springframework.cloud.netflix.zuul.filters.support.FilterConstants;

/**
 * 前置过滤器
 * @author 涂航
 */
public abstract class AbstractPreZuulFilter extends AbstractZuulFilter{


    /**
     * 设置过滤器的声明类型为前置过滤器
     * @return
     */
    @Override
    public String filterType() {
        return FilterConstants.PRE_TYPE;
    }
}
